{{#* inline 'formImport' item}}
{{#if (eq item.detailType "FORMITEM")}}
{{#if (and item.psEditor item.psEditor.psSysPFPlugin)}}
import {{pascalCase item.psEditor.psSysPFPlugin.pluginCode}} from "@plugins/editor/{{spinalCase item.psEditor.psSysPFPlugin.pluginCode}}/{{spinalCase item.psEditor.psSysPFPlugin.pluginCode}}.vue";
{{/if}}
{{else if item.psDEFormDetails}}
{{#each item.psDEFormDetails as | formDetail | }}
{{#if formDetail.psSysPFPlugin}}
import {{pascalCase formDetail.psSysPFPlugin.pluginCode}} from "@plugins/ctrl-item/{{spinalCase formDetail.psSysPFPlugin.pluginCode}}/{{spinalCase formDetail.psSysPFPlugin.pluginCode}}.vue";
{{else}}
{{> formImport item=formDetail}}
{{/if}}
{{/each}}
{{/if}}
{{/inline}}
{{#if (eq ctrl.controlType "FORM")}}
{{#each ctrl.psDEFormPages as | ctrlPage | }}
{{#if ctrlPage.psSysPFPlugin}}
import {{pascalCase ctrlPage.psSysPFPlugin.pluginCode}} from "@plugins/widget/{{spinalCase ctrlPage.psSysPFPlugin.pluginCode}}/{{spinalCase ctrlPage.psSysPFPlugin.pluginCode}}.vue";
{{else}}
{{> formImport item=ctrlPage}}
{{/if}}
{{/each}}
{{/if}}